{extend name="base/base" /}
{block name="content"}

<div class="layui-form-item layui-form-pane">
      <div class="layui-inline">
        <label class="layui-form-label">状态</label>
        <div class="layui-input-inline">
          <select class="layui-input" name='status' id='status'>
            <option value="">全部</option>
            <option value="1">等待总后台审核</option>
            <option value="2">待使用</option>
            <option value="3">已使用</option>
            <option value="4">已拒绝</option>
          </select>
        </div>
      </div>
      <div class="layui-inline">
          <label class="layui-form-label">用户ID</label>
          <div class="layui-input-inline">
              <input type="text" name="uid" autocomplete="off" class="layui-input" id='uid'>
          </div>
      </div>
      <div class="layui-inline">
          <label class="layui-form-label">用户名</label>
          <div class="layui-input-inline">
              <input type="text" name="username" autocomplete="off" class="layui-input" id='username'>
          </div>
      </div>
    <!--   <div class="layui-inline">
          <label class="layui-form-label">电话</label>
          <div class="layui-input-inline">
              <input type="text" name="phone" autocomplete="off" class="layui-input" id='phone'>
          </div>
      </div> -->
      <div class="layui-inline">
        <div class="demoTable">
          <button class="layui-btn" data-type="reload">搜索</button>
          <button class="layui-btn layui-btn-danger" onclick="add()">发起申请</button>
        </div>
      </div>
        <script type="text/html" id="edit">
    <a class="layui-btn layui-btn-xs" lay-event="edit">审核</a>
  </script>
  <table id="table" lay-filter="table"></table> 
</div>

<h>注册统计:</h>
<table class="layui-table">
    <colgroup>
      <col width="200">
      <col width="200">
      <col>
    </colgroup>
    <thead>
      <tr>
        <th>总注册人数</th>
        <th>今日注册人数</th>
      </tr> 
    </thead>
    <tbody>
        <tr>
          <td>{$reg_total}</td>
          <td>{$reg}</td>
        </tr>
    </tbody>
</table>
<br />
<h>提币统计:</h>
<table class="layui-table">
    <colgroup>
      <col width="150">
      <col width="200">
      <col width="200">
      <col>
    </colgroup>
    <thead>
      <tr>
        <th>总转出</th>
        <th>今日转出</th>
      </tr> 
    </thead>
    <tbody>
      {foreach $out as $vo} 
        <tr>
          <td>{$vo.total}</td>
          <td>{$vo.today}</td>
        </tr>
      {/foreach}
    </tbody>
</table>
<br />

<!-- <h>质押统计:</h>
<table class="layui-table">
    <colgroup>
      <col width="200">
      <col width="200">
      <col width="200">
      <col width="200">
      <col>
    </colgroup>
    <thead>
      <tr>
        <th>日期</th>
        <th>质押数量</th>
      </tr> 
    </thead>
    <tbody>
      {foreach $invest as $vo} 
        <tr>
          <td>{$vo.name}</td>
          <td>{$vo.amount}</td>
        </tr>
      {/foreach}
    </tbody>
</table>
<br />
<h>收益统计:</h>
<table class="layui-table">
    <colgroup>
      <col width="200">
      <col width="200">
      <col width="200">
      <col width="200">
      <col width="200">
      <col width="200">
      <col>
    </colgroup>
    <thead>
      <tr>
        <th>日期</th>
        <th>静态收益</th>
        <th>分享收益</th>
        <th>社区收益</th>
        <th>总收益</th>
      </tr> 
    </thead>
    <tbody>
      {foreach $profit as $vo} 
        <tr>
          <td>{$vo.name}</td>
          <td>{$vo.profit}</td>
          <td>{$vo.invite_profit}</td>
          <td>{$vo.team_profit}</td>
          <td>{$vo.total_profit}</td>
        </tr>
      {/foreach}
    </tbody>
</table> -->
<br />
{/block}
{block name="script"}
<script>
</script>
{/block}
